{if isset($smarty.session.userid) && $smarty.session.userid }
	用户{$smarty.session.userid}已登录<a href="/common/login/logout">退出</a>
{else}
	<a href="#" onclick="toQzoneLogin()"><img src="/static/images/login/qq_login.png"></a>
{/if}
</body>
<script type="text/javascript">
function toQzoneLogin()
{
	location.href='/common/qqlogin/auth';

} 
</script>
